﻿using ZYCommon;
using System;
using System.Drawing;

namespace TextEditor
{
   

    public class A_SetBackColor : A_Action
    {
        public override string ActionName()
        {
            return "setbackcolor";
        }

        public override bool Execute()
        {
            base.myOwnerDocument.OwnerControl.BackColor = StringCommon.ColorFromHtml(base.Param1, SystemColors.Window);
            base.myOwnerDocument.OwnerControl.Refresh();
            return true;
        }
    }
}

